package cn.it.ygh.service;

import java.util.List;

import cn.it.ygh.pojo.Agent;
import cn.it.ygh.pojo.House;

public interface HouseService {	   
	public void addHouse(House house);
    public void updateHouse(House house);
    public void deleteHouse(int id);
	public House findById(int id);
	//public List<House> searchHouse();
	public List<Agent> findAll();
	public List<House> getPageData(int pageStart,int pageSize);
	public int getTotal();
}
